runtime.p.status (field)

32 uses

	runtime (current package)
		mgcpacer.go#L812: 		if p.status != _Prunning {
		preempt.go#L288: 	return mp.locks == 0 && mp.mallocing == 0 && mp.preemptoff == "" && mp.p.ptr().status == _Prunning
		proc.go#L1188: 	_g_.m.p.ptr().status = _Pgcstop // Pgcstop is only diagnostic.
		proc.go#L1192: 		s := p.status
		proc.go#L1193: 		if s == _Psyscall && atomic.Cas(&p.status, s, _Pgcstop) {
		proc.go#L1208: 		p.status = _Pgcstop
		proc.go#L1232: 			if p.status != _Pgcstop {
		proc.go#L1617: 		s := p.status
		proc.go#L1618: 		if s == _Psyscall && p.runSafePointFn == 1 && atomic.Cas(&p.status, s, _Pidle) {
		proc.go#L2355: 		_p_.status = _Pgcstop
		proc.go#L2472: 	_p_.status = _Pgcstop
		proc.go#L3636: 	atomic.Store(&pp.status, _Psyscall)
		proc.go#L3669: 	if sched.stopwait > 0 && atomic.Cas(&_p_.status, _Psyscall, _Pgcstop) {
		proc.go#L3828: 	if oldp != nil && oldp.status == _Psyscall && atomic.Cas(&oldp.status, _Psyscall, _Pidle) {
		proc.go#L4595: 	pp.status = _Pgcstop
		proc.go#L4712: 	pp.status = _Pdead
		proc.go#L4788: 		_g_.m.p.ptr().status = _Prunning
		proc.go#L4809: 		p.status = _Pidle
		proc.go#L4841: 		p.status = _Pidle
		proc.go#L4889: 	if _p_.m != 0 || _p_.status != _Pidle {
		proc.go#L4894: 		print("wirep: p->m=", _p_.m, "(", id, ") p->status=", _p_.status, "\n")
		proc.go#L4899: 	_p_.status = _Prunning
		proc.go#L4910: 	if _p_.m.ptr() != _g_.m || _p_.status != _Prunning {
		proc.go#L4911: 		print("releasep: m=", _g_.m, " m->p=", _g_.m.p.ptr(), " p->m=", hex(_p_.m), " p->status=", _p_.status, "\n")
		proc.go#L4919: 	_p_.status = _Pidle
		proc.go#L5220: 		s := _p_.status
		proc.go#L5256: 			if atomic.Cas(&_p_.status, s, _Pidle) {
		proc.go#L5281: 		if _p_.status != _Prunning {
		proc.go#L5353: 			print("  P", i, ": status=", _p_.status, " schedtick=", _p_.schedtick, " syscalltick=", _p_.syscalltick, " m=", id, " runqsize=", t-h, " gfreecnt=", _p_.gFree.n, " timerslen=", len(_p_.timers), "\n")
		proc.go#L5867: 					if _p_.status == _Prunning {
		runtime2.go#L598: 	status      uint32 // one of pidle/prunning/...